-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
1.2
-
Code
-
Classes
- POS_Role
Total Complexity |
87 |
Dependencies |
9 |
Dependents |
0 |
Total lines |
588 |
Lines of code |
429 |
Logical lines of code |
291 |
Comment lines |
115 |
Methods |
24 |
Properties |
0 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
delete_item() |
A |
46 |
9 |
40 |
access_data() |
S |
51 |
7 |
27 |
acl_toggle() |
S |
50 |
6 |
31 |
copy_role() |
S |
51 |
6 |
26 |
updated_role() |
S |
52 |
6 |
25 |
edit() |
S |
51 |
5 |
28 |
is_agent_status_change() |
S |
51 |
5 |
25 |
status_change() |
S |
52 |
5 |
25 |
data() |
S |
53 |
5 |
22 |
is_role_editable() |
S |
57 |
5 |
16 |
reset_role() |
S |
54 |
4 |
22 |
add() |
S |
58 |
4 |
16 |
new_role_added() |
S |
59 |
4 |
15 |
item_details() |
S |
56 |
3 |
19 |
removed_role() |
S |
66 |
4 |
8 |
default_resources() |
S |
46 |
1 |
35 |
initialize() |
S |
59 |
1 |
14 |
on_init() |
S |
62 |
1 |
13 |
get_action_prefix() |
S |
82 |
1 |
3 |
get_menu_icon() |
S |
82 |
1 |
3 |
get_menu_sub_title() |
S |
80 |
1 |
3 |
get_menu_title() |
S |
80 |
1 |
3 |
on_active() |
S |
72 |
1 |
6 |
option_form() |
S |
77 |
1 |
4 |